package com.unlcn.ils.erpInterfaces.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * SMCONTRACT 合同
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-08
 */
public class Smcontract extends Model<Smcontract> {

    private static final long serialVersionUID = 1L;

	/**
	 * ${field.comment}
	 */
	private Long dcgather;

	/**
	 * ${field.comment}
	 */
	private Long dccheck;

	/**
	 * ${field.comment}
	 */
	private Long dcreceive;

	/**
	 * 纳税人识别号
	 */
	private String vctaxno;

	/**
	 * 维护人员
	 */
	private String vcuserno;

	/**
	 * 签订时间
	 */
	private Date dtsigndate;

	/**
	 * 数据有效(0：无效，1：有效)
	 */
	private Long bactive;

	/**
	 * 公司ID
	 */
	private Long icompanyid;

	/**
	 * 所属客户
	 */
	private Long icustomerid;

	/**
	 * 终止日期
	 */
	private Date dtclosedate;

	/**
	 * 合同状态(0：无效，1：有效)
	 */
	private Long istatus;

	/**
	 * 合同到期日期
	 */
	private Date dtenddate;

	/**
	 * 合同起效日期
	 */
	private Date dtbegindate;

	/**
	 * 合同签订人
	 */
	private String vcusername;

	/**
	 * 合同签订日期
	 */
	private Date dtdate;

	/**
	 * 合同类型(常规类型/临时合同)
	 */
	private Long itype;

	/**
	 * 合同号2
	 */
	private String vccontractname;

	/**
	 * 合同号
	 */
	private String vccontractno;

	/**
	 * 序号
	 */
	@TableId(type = IdType.INPUT)
	private Long ilineid;



	public Long getDcgather() {
		return dcgather;
	}

	public void setDcgather(Long dcgather) {
		this.dcgather = dcgather;
	}

	public Long getDccheck() {
		return dccheck;
	}

	public void setDccheck(Long dccheck) {
		this.dccheck = dccheck;
	}

	public Long getDcreceive() {
		return dcreceive;
	}

	public void setDcreceive(Long dcreceive) {
		this.dcreceive = dcreceive;
	}

	public String getVctaxno() {
		return vctaxno;
	}

	public void setVctaxno(String vctaxno) {
		this.vctaxno = vctaxno;
	}

	public String getVcuserno() {
		return vcuserno;
	}

	public void setVcuserno(String vcuserno) {
		this.vcuserno = vcuserno;
	}

	public Date getDtsigndate() {
		return dtsigndate;
	}

	public void setDtsigndate(Date dtsigndate) {
		this.dtsigndate = dtsigndate;
	}

	public Long getBactive() {
		return bactive;
	}

	public void setBactive(Long bactive) {
		this.bactive = bactive;
	}

	public Long getIcompanyid() {
		return icompanyid;
	}

	public void setIcompanyid(Long icompanyid) {
		this.icompanyid = icompanyid;
	}

	public Long getIcustomerid() {
		return icustomerid;
	}

	public void setIcustomerid(Long icustomerid) {
		this.icustomerid = icustomerid;
	}

	public Date getDtclosedate() {
		return dtclosedate;
	}

	public void setDtclosedate(Date dtclosedate) {
		this.dtclosedate = dtclosedate;
	}

	public Long getIstatus() {
		return istatus;
	}

	public void setIstatus(Long istatus) {
		this.istatus = istatus;
	}

	public Date getDtenddate() {
		return dtenddate;
	}

	public void setDtenddate(Date dtenddate) {
		this.dtenddate = dtenddate;
	}

	public Date getDtbegindate() {
		return dtbegindate;
	}

	public void setDtbegindate(Date dtbegindate) {
		this.dtbegindate = dtbegindate;
	}

	public String getVcusername() {
		return vcusername;
	}

	public void setVcusername(String vcusername) {
		this.vcusername = vcusername;
	}

	public Date getDtdate() {
		return dtdate;
	}

	public void setDtdate(Date dtdate) {
		this.dtdate = dtdate;
	}

	public Long getItype() {
		return itype;
	}

	public void setItype(Long itype) {
		this.itype = itype;
	}

	public String getVccontractname() {
		return vccontractname;
	}

	public void setVccontractname(String vccontractname) {
		this.vccontractname = vccontractname;
	}

	public String getVccontractno() {
		return vccontractno;
	}

	public void setVccontractno(String vccontractno) {
		this.vccontractno = vccontractno;
	}

	public Long getIlineid() {
		return ilineid;
	}

	public void setIlineid(Long ilineid) {
		this.ilineid = ilineid;
	}

	@Override
	protected Serializable pkVal() {
		return this.ilineid;
	}

}
